package gov.nasa.anml;

import gov.nasa.anml.lifted.History;
import gov.nasa.anml.utility.ArrHashMap;
import gov.nasa.anml.utility.ArrMap;
import gov.nasa.anml.utility.SimpleObject;

public class BindingHistoryMap<T extends SimpleObject<? super T>> extends ArrHashMap<SimpleObject<?>[],History<T>> {
	public Entry<SimpleObject<?>[],History<T>> createEntry(int index, SimpleObject<?>[] key, History<T> value, int hash) {
		Entry<SimpleObject<?>[],History<T>> e = table[index];
		table[index] = new Entry<SimpleObject<?>[],History<T>>(key, value.clone(), hash, e);
		size++;
		return e;
	}
	public BindingHistoryMap<T> clone() {
		return (BindingHistoryMap<T>) super.clone();
	}
}

